package com.mlnx.data.dao;

import com.mlnx.common.form.PageForm;
import com.mlnx.data.entity.SugarInfo;
import com.mlnx.data.pojo.form.SugarInfoForm;
import com.mlnx.data.pojo.vo.SugarInfoVo;

import java.util.List;

/**
 * Created by amanda.shan on 2019/10/27.
 */
public interface SugarStore {

    void init();

    void save(SugarInfo sugarInfo);

    List<SugarInfo> getSugars(Integer patientId, Long startTime, Long endTime);

    void updateSugar(SugarInfo bpInfo);

    void deleteSugar(SugarInfo bpInfo);

    SugarInfoVo getPageSugars(PageForm pageForm, SugarInfoForm sugarInfoForm);

}
